package com.coreservlets.jsf.ss09;

import java.util.Date;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

@ManagedBean
@ApplicationScoped
public class TestBean1 
{
	private Date creationTime = new Date();
	private String greeting = "Hello";
	
	public Date getCreationTime()
	{
		return( creationTime );
	}
	
	public String getGreeting()
	{
		return( greeting );
	}
	
	public double getRandomNumber()
	{
		return( Math.random() );
	}
}
